﻿/*
 * LegendChildNodes
 * 
 * initial implementation : 20.10.2008
 *
 * Copyright (c) Adam Sida, asida@centrum.cz.
 * All rights reserved.
 * 
 * for license see Petra.Gis.License.txt
 */
using System;
using System.Collections.Generic;

namespace Petra.Gis.RenderingServices.PlanarBase.Support
{
  interface IChildItemsList<T> : IList<T>
  {

    /// <summary>
    /// move node in legend to achieve desired visual order
    /// </summary>
    /// <param name="oldIndex">old legend node index</param>
    /// <param name="newIndex">new legend node index</param>
    void Move(int oldIndex, int newIndex);

  }
}
